package edu.yuhf.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import edu.yuhf.dao.iface.PermissionDao;
import edu.yuhf.domain.Permission;
import edu.yuhf.service.iface.PermissionService;

@Service
public class PermissionServiceImpl implements PermissionService {

	@Autowired
	PermissionDao permissionDao;
	
	@Override
	public List<Permission> showPermission() {
		return permissionDao.getPermissionAll();
	}

}
